<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: cgq
  Date: 2018/2/4
  Time: 11:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
        <%if(request.getSession().getAttribute("msg")!=null){%>
        <%=request.getSession().getAttribute("msg")%>
        <%}%>
    <tr>
        <td>学生姓名</td>
        <td>课程号</td>
    </tr>
            <c:forEach var="courselist" items="${courselist}">
            <tr>

                <td>${courselist.uname}</td>
                <td>${courselist.cno}</td>

            </tr>
            </c:forEach>



</body>
</html>
